package com.lifa.service.impl;

import com.lifa.dao.RuKuMxTableDao;
import com.lifa.entity.Rukumxtable;
import com.lifa.service.RuKuMxTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RuKuMxTableServiceImpl implements RuKuMxTableService {
    @Autowired
    private RuKuMxTableDao ruKuMxTableDao;

    @Override
    public int tukutianjia1(Rukumxtable rukumxtable ) {
        return ruKuMxTableDao.rukutianjai(rukumxtable);
    }

    @Override
    public List<Rukumxtable> whereMingxi(String danhao) {
        return ruKuMxTableDao.whereMingxi(danhao);
    }
}
